<?php

use App\Winged\Auth\Consts\Roles;

return [
    'menu' => [
        [
            'order'     => 4,
            'title'     => '患者列表',
            'icon'      => 'fa-heartbeat',
            'uri'       => '/evaluation/index/#/patients',
            'parent_id' => 0,
            'service'   => 'evaluation',
            'roles'     => [
                Roles::MASTER_SUPERADMIN,
                Roles::TENANT_ADMIN,
                Roles::EVALUATION_DOCTOR,
                Roles::EVALUATION_SERVICE,
            ],
        ], [
            'order'     => 5,
            'title'     => '评估表扫描',
            'icon'      => 'fa-qrcode',
            'uri'       => '/evaluation/index/#/scan',
            'service'   => 'evaluation',
            'parent_id' => 0,
            'roles'     => [
                Roles::MASTER_SUPERADMIN,
                Roles::TENANT_ADMIN,
                Roles::EVALUATION_DOCTOR,
                Roles::EVALUATION_SERVICE,
            ],
        ], [
            'order'     => 6,
            'title'     => '评估表列表',
            'icon'      => 'fa-list-alt',
            'uri'       => '/evaluation/index/#/index',
            'service'   => 'evaluation',
            'parent_id' => 0,
            'roles'     => [
                Roles::MASTER_SUPERADMIN,
                Roles::TENANT_ADMIN,
                Roles::EVALUATION_DOCTOR,
                Roles::EVALUATION_SERVICE,
            ],
        ]
    ],
    'roles' => [
        [
            'slug' => Roles::EVALUATION_DOCTOR,
            'name' => '医生组',
        ],[
            'slug' => Roles::EVALUATION_SERVICE,
            'name' => '服务组',
        ]
    ]
];

